export default {
  group: 'Antd',
  componentName: 'ATimelineItem',
  title: '时间轴项',
  category: '数据展示',
  npm: {
    destructuring: true,
    componentName: 'ATimelineItem'
  },
  props: [
    {
      name: 'color',
      title: {
        label: '颜色',
        tip: '指定圆圈颜色 blue, red, green，或自定义的色值',
      },
      propType: 'string',
      setter: 'StringSetter',
      defaultValue: 'blue'
    },
    {
      name: 'dot',
      title: {
        label: '自定义时间轴点',
        tip: '自定义时间轴点',
      },
      propType: ['string', 'Node'],
    },
    {
      name: 'label',
      title: {
        label: '设置标签',
        tip: '设置标签',
      },
      propType: ['string', 'Node'],
    },
    {
      name: 'position',
      title: { label: '自定义节点位置', tip: '自定义节点位置' },
      propType: 'bool',
      defaultValue: false,
    }
  ],
  configure: {
    component: {
      isContainer: true,
      nestingRule: {
        parentWhitelist: ['ATimeline']
      }
    }
  },
  snippets: [
  ]
}
